import { defineConfig } from 'umi';
import routes from './routes'

export default defineConfig({
    nodeModulesTransform: { type: 'none' },
    routes: routes,
    fastRefresh: {},
    dva: { immer: true },
    locale: {
        default: 'zh-CN',
        antd: false
    },
    dynamicImport:{
        loading:'@/pages/loading'
    },
    define: {
        "process.env.apiUrl": '',
        "process.env.postUrl": '',
      },
});
